home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / ds3100.md / mmalloc / Makefile < prev    next >
Encoding:
Makefile  |  1992-07-01  |  3.7 KB  |  180 lines

  1. # This file was generated automatically by configure.  Do not edit.
  2. host_alias = decstation
  3. host_cpu = mips
  4. host_vendor = dec
  5. host_os = sprite
  6. target_alias = decstation
  7. target_cpu = mips
  8. target_vendor = dec
  9. target_os = ultrix42
  10. target_makefile_frag = 
  11. host_makefile_frag = 
  12. site_makefile_frag = 
  13. links = 
  14. VPATH = .
  15. ALL=all.internal
  16. #
  17. # Makefile
  18. #   Copyright (C) 1992 Cygnus Support
  19. #
  20. # This file is free software; you can redistribute it and/or modify
  21. # it under the terms of the GNU General Public License as published by
  22. # the Free Software Foundation; either version 2 of the License, or
  23. # (at your option) any later version.
  24. # This program is distributed in the hope that it will be useful,
  25. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  27. # GNU General Public License for more details.
  28. # You should have received a copy of the GNU General Public License
  29. # along with this program; if not, write to the Free Software
  30. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  31. #
  32.  
  33. #
  34. # Makefile for mmalloc directory
  35. #
  36.  
  37. # Directory containing source files.  Don't clean up the spacing,
  38. # this exact string is matched for by the "configure" script.
  39. srcdir = .
  40.  
  41. prefix = /usr/local
  42.  
  43. exec_prefix = $(prefix)
  44.  
  45. bindir =    $(exec_prefix)/bin
  46. libdir =    $(exec_prefix)/lib
  47.  
  48. datadir =    $(prefix)/lib
  49. mandir =    $(prefix)/man
  50. man1dir =    $(mandir)/man1
  51. man2dir =    $(mandir)/man2
  52. man3dir =    $(mandir)/man3
  53. man4dir =    $(mandir)/man4
  54. man5dir =    $(mandir)/man5
  55. man6dir =    $(mandir)/man6
  56. man7dir =    $(mandir)/man7
  57. man8dir =    $(mandir)/man8
  58. man9dir =    $(mandir)/man9
  59. infodir =    $(prefix)/info
  60. includedir =    $(prefix)/include
  61. docdir =    $(datadir)/doc
  62.  
  63. SHELL =        /bin/sh
  64.  
  65. INSTALL =    install -c
  66. INSTALL_PROGRAM = $(INSTALL)
  67. INSTALL_DATA =    $(INSTALL)
  68.  
  69. AR =        ar
  70. AR_FLAGS =    qv
  71. BISON =        bison
  72. MAKEINFO =    makeinfo
  73. RANLIB =    ranlib
  74. RM =        rm
  75.  
  76. TARGETLIB =    libmmalloc.a
  77.  
  78. MINUS_G =    -g
  79. CFLAGS =    $(MINUS_G) -I. -I$(srcdir)/../include $(HDEFINES) -Dsprite
  80.  
  81. CFILES =    mcalloc.c mfree.c mmalloc.c mmcheck.c mmemalign.c mmstats.c \
  82.         mmtrace.c mrealloc.c mvalloc.c mmap-sup.c attach.c detach.c \
  83.         keys.c sbrk-sup.c
  84.  
  85. HFILES =    mmalloc.h
  86.  
  87. OFILES =    mcalloc.o mfree.o mmalloc.o mmcheck.o mmemalign.o mmstats.o \
  88.         mmtrace.o mrealloc.o mvalloc.o mmap-sup.o attach.o detach.o \
  89.         keys.o sbrk-sup.o
  90.  
  91. #### Host, target, and site specific Makefile fragments come in here.
  92. ###
  93.  
  94. # Do we want/need any config overrides?
  95. #     
  96.  
  97. STAGESTUFF =    $(TARGETLIB) *.o
  98.  
  99. all:        $(TARGETLIB)
  100.  
  101. info:
  102. clean-info:
  103. install-info:
  104. check:
  105.  
  106. install:    all
  107.         $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n
  108.         $(RANLIB) $(libdir)/$(TARGETLIB).n
  109.         mv -f $(libdir)/$(TARGETLIB).n $(libdir)/$(TARGETLIB)
  110.  
  111. $(TARGETLIB):    $(OFILES)
  112.         $(RM) -rf $@
  113.         $(AR) $(AR_FLAGS) $@ $(OFILES)
  114.         $(RANLIB) $@
  115.  
  116. $(OFILES) :    $(HFILES)
  117.  
  118. .always.:
  119. # Do nothing.
  120.  
  121. .PHONEY: all etags tags ls clean stage1 stage2 .always.
  122.  
  123. stage1:        force
  124.         -mkdir stage1
  125.         -mv -f $(STAGESTUFF) stage1
  126.  
  127. stage2:        force
  128.         -mkdir stage2
  129.         -mv -f $(STAGESTUFF) stage2
  130.  
  131. stage3:        force
  132.         -mkdir stage3
  133.         -mv -f $(STAGESTUFF) stage3
  134.  
  135. stage4:        force
  136.         -mkdir stage4
  137.         -mv -f $(STAGESTUFF) stage4
  138.  
  139. against=stage2
  140.  
  141. comparison:    force
  142.         for i in *.o ; do cmp $$i $(against)/$$i || exit 1 ; done
  143.  
  144. de-stage1:    force
  145.         -(cd stage1 ; mv -f * ..)
  146.         -rmdir stage1
  147.  
  148. de-stage2:    force
  149.         -(cd stage2 ; mv -f * ..)
  150.         -rmdir stage2
  151.  
  152. de-stage3:    force
  153.         -(cd stage3 ; mv -f * ..)
  154.         -rmdir stage3
  155.  
  156. de-stage4:    force
  157.         -(cd stage4 ; mv -f * ..)
  158.         -rmdir stage4
  159.  
  160. etags tags:    TAGS
  161.  
  162. TAGS:        $(CFILES)
  163.         etags $(HFILES) $(CFILES)
  164.  
  165. ls:
  166.         @echo Makefile $(HFILES) $(CFILES)
  167.  
  168. # Need to deal with profiled libraries, too.
  169.  
  170. clean:
  171.         rm -f *.a *.o core errs *~ \#* TAGS *.E a.out errors 
  172.  
  173. force:
  174.  
  175. Makefile:    $(srcdir)/Makefile.in $(host_makefile_frag) \
  176.         $(target_makefile_frag)
  177.         $(SHELL) ./config.status
  178.